package test;

import object.Tree;

import java.io.File;

public class testTree {
    protected Tree tree;
    public testTree() throws Exception{
        tree = new Tree(new File("test"));

    }

    public void testGetFmt() throws Exception {
        System.out.println(tree.getFmt());
    }

    public void testGetValue() throws Exception {
        System.out.println(tree.getContent());
    }

    public void testGetKey() throws Exception {
        System.out.println(tree.getKey());
    }

    public void testGetMode() throws Exception {
        System.out.println(tree.getMode());
    }

    public void testGetPath() throws Exception {
        System.out.println(tree.getPath());
    }

    public static void main(String[] args) throws Exception{
        testTree test = new testTree();
        test.testGetKey();
        test.testGetPath();
        test.testGetMode();
        test.testGetValue();
    }
}
